<div>
    <img src="<?= $film->FILM_AFFIC ?>" height="150px"/>
    <h3><?= Texte::toHtml("Détails") ?></h3>
    <p><span>Date de sortie : </span><?= Date::formaterDateFR($film->FILM_SORTI) ?></p>
    <p><span>Genre : </span><?= $film->FILM_GENRE ?></p>
    <p><span><?= Texte::toHtml("Durée") ?> : </span><?= Date::formaterDuree($film->FILM_DUREE) ?></p>
    <p><span>Synopsis  : </span><?= $film->FILM_SYNOP ?></p>
    <p class='clear'></p>
</div>
<div>
    <h3><?= Texte::toHtml("Les prochaines séances") ?></h3>
    <ul class="tableau">
    <?php foreach($progs as $date=>$listeProg){ ?>
        <li><span><?= Date::stringToDateFR($date, false, true, false, false) ?></span>
            <ul>
                <?php foreach($listeProg as $prog){ ?>
                <li><?= Date::formaterDuree($prog->PROG_CRENE->CREN_HEURE) ?></li>
                <?php } ?>
            </ul>
        </li>
    <?php } ?>
    </ul>
</div>
<div>
    <h3><?= Texte::toHtml("Les photos") ?></h3>
	<ul class="fancy">
	<?php foreach(Query::getPhotosDuFilm($film) as $photo){ ?>
		<li><img src="<?= $photo->PHOT_LIEN ?>" width="350px"/></li>
	<?php } ?>
	</ul>
</div>
<div>
    <h3><?= Texte::toHtml("Les bandes annonces") ?></h3>
	<ul>
	<?php foreach(Query::getVideosDuFilm($film) as $video){ ?>
		<li>
            <h4><?= $video->BAND_TITRE ?></h4>
            <iframe width="420" height="345" src="http://www.youtube.com/embed/<?= $video->YUTB_IDVID ?>"></iframe>
        </li>
	<?php } ?>
	</ul>
</div>
